import request from '@/utils/request'
import { parseStrEmpty } from "@/utils/ruoyi";
//----------------------------------------------------------------------------------------------------
// 查询风险单元列表
export function listSTR(query) {
  return request({
    url: '/aqsc/str/list',
    method: 'get',
    params: query
  })
}

// 根据id查询风险单元详细
export function getListById(id) {
  return request({
    url: '/aqsc/str/' + parseStrEmpty(id),
    method: 'get'
  })
}

